package entity;

import java.sql.Timestamp;
import java.util.List;

/**
 * @Author:wxw
 * @Date:2019/11/5 23:41
 * @Description:
 */
public class ZhuYeShowWB {
    private int wbid;//微博ID
    private User uid;//发微博的用户ID
    private String wtext;//微博内容
    private Timestamp wdate;//微博发布时间
    private String wfujian;//微博附件地址
    private int power;//微博权限
    private int znum;//转发数量
    private int pnum;//评论数量
    private int zannum;//点赞数量
    private List<PingLun> pid;//评论id
/*    private int puid;//评论人的ID
    private int buid;//被评论人的ID
    private Timestamp pdate;//评论的时间
    private String ptext;//评论内容
    private int pfuid;//评论父评论id*/
    private List<PingLun> pid2;//二级评论id
/*    private int puid2;//二级评论人id
    private int buid2;//二级被评论id
    private Timestamp pdate2;//二级评论时间
    private String ptext2;//二级评论内容*/

    public ZhuYeShowWB() {
    }

    @Override
    public String toString() {
        return "ZhuYeShowWB{" +
                "wbid=" + wbid +
                ", uid=" + uid +
                ", wtext='" + wtext + '\'' +
                ", wdate=" + wdate +
                ", wfujian='" + wfujian + '\'' +
                ", power=" + power +
                ", znum=" + znum +
                ", pnum=" + pnum +
                ", zannum=" + zannum +
                ", pid=" + pid +
                ", pid2=" + pid2 +
                '}';
    }

    public String getWtext() {
        return wtext;
    }

    public void setWtext(String wtext) {
        this.wtext = wtext;
    }

    public int getWbid() {
        return wbid;
    }

    public void setWbid(int wbid) {
        this.wbid = wbid;
    }

    public User getUid() {
        return uid;
    }

    public void setUid(User uid) {
        this.uid = uid;
    }

    public Timestamp getWdate() {
        return wdate;
    }

    public void setWdate(Timestamp wdate) {
        this.wdate = wdate;
    }

    public String getWfujian() {
        return wfujian;
    }

    public void setWfujian(String wfujian) {
        this.wfujian = wfujian;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public int getZnum() {
        return znum;
    }

    public void setZnum(int znum) {
        this.znum = znum;
    }

    public int getPnum() {
        return pnum;
    }

    public void setPnum(int pnum) {
        this.pnum = pnum;
    }

    public int getZannum() {
        return zannum;
    }

    public void setZannum(int zannum) {
        this.zannum = zannum;
    }

    public List<PingLun> getPid() {
        return pid;
    }

    public void setPid(List<PingLun> pid) {
        this.pid = pid;
    }

    public List<PingLun> getPid2() {
        return pid2;
    }

    public void setPid2(List<PingLun> pid2) {
        this.pid2 = pid2;
    }
}
